//
//  ZYAlreadyDownThreeModel.m
//  优学荟管理系统
//
//  Created by edz on 2018/1/9.
//  Copyright © 2018年 星道三好. All rights reserved.
//

#import "ZYAlreadyDownThreeModel.h"

@implementation ZYAlreadyDownThreeModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
    if ([key isEqualToString:@"elementCount"]) {
        
        for (NSDictionary *dict in value) {
            
            ZYAlreadyDownThreeSubOneModel *model = [ZYAlreadyDownThreeSubOneModel new];
            [model setValuesForKeysWithDictionary:dict];
            
            [self.elementCount addObject:model];
            
            
        }
    }
    
    
    if ([key isEqualToString:@"teachers"]) {
        
        
        for (NSDictionary *dict in value) {
            
            ZYAlreadyDownThreeSubTwoModel *model = [ZYAlreadyDownThreeSubTwoModel new];
            
            [model setValuesForKeysWithDictionary:dict];
            
            
            [self.teachers addObject:model];
            
        }
        
        
        
    }
    
    
    
    
    
}


- (NSMutableArray *)elementCount{
    
    if (_elementCount == nil) {
        self.elementCount = [NSMutableArray array];
    }
    
    
    return _elementCount;
    
    
    
    
    
}

- (NSMutableArray *)teachers{
    
    if (_teachers == nil) {
        self.teachers = [NSMutableArray array];
    }
    return _teachers;
    
}






@end




@implementation ZYAlreadyDownThreeSubOneModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
    
}



@end



@implementation ZYAlreadyDownThreeSubTwoModel


- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
    
}



@end



